package com.hzy.alibaba.entity;

/**
 * @author westboy
 * @date 2019/4/13 14:00
 * @description: 系统常量
 */
public class Constant {

    public static final String JCLOUDS_PREFFIX = "jclouds_";

    public static final String JCLOUDS_LICENSE = "made by jclouds";

    public static final String OAUTH_PREFFIX = "oauth:";

    public static final String CORP_ID = "corpId";

    public static final String SPLIT_PLACE_HOLDER= "#";

    public static final Integer SUCCESS_CODE = 20000;

    public static final Integer ERROR_CODE = 400;

    public static final String CORS_ALLOW_HEADERS = "Origin, X-Requested-With, Content-Type, Accept, x-token, authorization";

    public static final String CORS_ALLOW_METHODS = "GET, HEAD, POST, PUT, DELETE, TRACE, OPTIONS, PATCH";

    public static final Long   CORS_MAX_AGE = 18000L;

}
